package com.motu.monstercity.module.common.network;

import com.motu.monstercity.protocol.CsGameSystem.CSGameSystemLogicErrorResponseType;
import com.motu.vertx.module.utility.toolset.ErrorWord;

/**
 * 错误码扩展类
 */
public class ErrorExtend {

    private ErrorWord errorWord;// 错误码
    private CSGameSystemLogicErrorResponseType type;// 错误类型
    private String param;// 错误参数

    public ErrorExtend(ErrorWord errorWord, CSGameSystemLogicErrorResponseType type, String param) {
        this.errorWord = errorWord;
        this.type = type;
        this.param = param;
    }

    public ErrorWord getErrorWord() {
        return errorWord;
    }

    public CSGameSystemLogicErrorResponseType getType() {
        return type;
    }

    public String getParam() {
        return param;
    }

}
